package com.it.travel.service.admin;

import com.it.travel.vo.Params.PageParams;
import com.it.travel.vo.Params.admin.AdminRoleParams;
import com.it.travel.vo.Params.admin.AdminRolePermissionAddParams;
import com.it.travel.vo.Params.admin.AdminRoleUpdateParams;
import com.it.travel.vo.Result;
import com.it.travel.vo.admin.AdminPermissionTreeVO;

public interface AdminRoleService {
    Result<?> getInfoPage(PageParams pageParams);

    Result<?> delete(Integer id);

    Result<?> save(AdminRoleParams adminProductParams);

    Result<?> update(AdminRoleUpdateParams adminRoleUpdateParams);

    Result<?> getPermissionInfo(Integer roleid);

    Result<?> savePermissionInfo(AdminRolePermissionAddParams adminRolePermissionAddParams);
}
